package com.zego.wawaji.ui.rank.bean;

import com.zego.wawaji.base.data.BaseData;

import org.json.JSONArray;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Su on 2018/1/15.
 */
public class AwardList extends BaseData {
    private List<Award> awardList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.awardList = (List<Award>) getBaseDataList(jsonArray, Award.class);
    }

    public List<Award> getAwardList() {
        return awardList;
    }
}
